.home{
  padding-top: 50px;
  background-color: #f3f3f3;
  padding-bottom: 100px;
  .album_img {
    width: 300px;
  }
  .artists_img {
    width: 300px;
  }
  .song_list_recommend {
    max-width: 1330px;
    margin: 0 auto;
    .title {
      font-size: 35px;
      text-align: center;
      font-weight: bold;
      margin-bottom: 30px;
    }
    .tags_box {
      display: flex;
      justify-content: space-evenly;
      margin-bottom: 38px;
      .tag {
        cursor: pointer;
        font-size: 15px;
        // margin-left: 60px;
        // &:nth-child(1) {
        //   margin-left: 0;
        // }
        &:hover{
          color: #31c27c;
        }
        &.select {
          color: #31c27c;
        }
      }
    }
    .song_list {
      width: 100%;
      transition: all .4s;
      .song_list_data_box {
        width: 100%;
        display: flex;
        justify-content: space-around;
        .song_list_data {
          font-size: 16px;
          width: 18%;
          cursor: pointer;
          .imgBox {
            width: 100%;
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            img {
              transition: all .4s;
              width: 100%;
            }
            .song_list_keepOut{
              opacity: 0;
              position: absolute;
              top: 0;
              bottom: 0;
              left: 0;
              right: 0;
              transition: all .4s;
              background-color: rgba(51, 51, 51,0.6);
              .song_list_keepOut_icon {
                position: absolute;
                width: auto;
                height: auto;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                border-radius: 50%;
                background-color: #FFF;
                transition: all .4s;
                span {
                  transition: all .4s;
                  font-size: 0;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover .song_list_keepOut {
              opacity: 1;
              &.song_list_keepOut .song_list_keepOut_icon {
                & span {
                  padding: 10px;
                  padding-left: 13px;
                  font-size: 30px;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover img {
              transform: scale(1.2);
            }
          }
          .song_list_name{
          }
          .song_list_play_count {
            color: #91a1b4;
          }
          &:hover {
            color: #31c27c;
          }
        }
      }
    }
    .emptySongList {
      width: 100%;
      height: 314px;
      line-height: 314px;
      text-align: center;
      font-size: 14px;
      color: #91a1b4;
    }
  }
  .new_song_recommend {
    padding-top: 50px;
    max-width: 1330px;
    margin: 0 auto;
    .title {
      font-size: 35px;
      text-align: center;
      font-weight: bold;
      margin-bottom: 30px;
    }
    .song_list {
      width: 100%;
      transition: all .4s;
      .song_list_data_box {
        width: 100%;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        .song_list_data {
          font-size: 16px;
          width: 32%;
          cursor: pointer;
          display: flex;
          padding-bottom: 10px;
          .imgBox {
            width: 20%;
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            img {
              transition: all .4s;
              width: 100%;
            }
            .song_list_keepOut{
              opacity: 0;
              position: absolute;
              top: 0;
              bottom: 0;
              left: 0;
              right: 0;
              transition: all .4s;
              background-color: rgba(51, 51, 51,0.6);
              .song_list_keepOut_icon {
                position: absolute;
                width: auto;
                height: auto;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                border-radius: 50%;
                background-color: #FFF;
                transition: all .4s;
                span {
                  transition: all .4s;
                  font-size: 0;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover .song_list_keepOut {
              opacity: 1;
              &.song_list_keepOut .song_list_keepOut_icon {
                & span {
                  padding: 7px;
                  padding-left: 10px;
                  font-size: 25px;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover img {
              transform: scale(1.2);
            }
          }
          .music_info {
            width: 80%;
            margin-left: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .music_list_name{
              &:hover {
                color: #31c27c;
              }
            }
            .music_list_artists{
              .music_list_artists_data{
                margin-right: 10px;
                color: #908b8d;
                &:hover {
                  color: #31c27c;
                }
              }
            }
          }
        }
      }
    }
    .emptySongList {
      width: 100%;
      height: 314px;
      line-height: 314px;
      text-align: center;
      font-size: 14px;
      color: #91a1b4;
    }
  }
  .ranking_list {
    padding-top: 50px;
    max-width: 1330px;
    margin: 0 auto;
    .title {
      font-size: 35px;
      text-align: center;
      font-weight: bold;
      margin-bottom: 30px;
    }
    .ranking_listbox {
      width: 100%;
      display: flex;
      justify-content: space-between;
      .ranking_box {
        width: 18%;
        box-sizing: border-box;
        padding: 56px 32px 0 32px;
        cursor: pointer;
        .ranking_top {
          text-align: center;
          padding-bottom: 40px;
          
          position: relative;
          .ranking_title {
            color: #f9ecef;
            font-size: 22px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-all;
          }
          .ranking_name {
            margin-top: 10px;
            color: #FFF;
            font-size: 28px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-all;
          }
          &::after{
            content: "";
            width: 40px;
            height: 4px;
            background-color: #FFF;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
          }
        }
        .ranking_bottom {
          height: 394px;
          padding-top: 10px;
          box-sizing: border-box;
          .ranking_music_box {
            margin-top: 40px;
            display: flex;
            font-size: 16px;
            color: #f9ecef;
            .ranking_music_index {
              width: 10%;
            }
            .ranking_music_info {
              width: 90%;
              .ranking_music_name {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                word-break: break-all;
              }
              .ranking_music_artists {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                word-break: break-all;
              }
            }
          }
        }
      }
    }
  }
  .mv_recommend {
    max-width: 1330px;
    margin: 0 auto;
    .title {
      font-size: 35px;
      text-align: center;
      font-weight: bold;
      margin-bottom: 30px;
    }
    .tags_box {
      display: flex;
      justify-content: space-evenly;
      margin-bottom: 38px;
    }
    .song_list {
      width: 100%;
      transition: all .4s;
      .song_list_data_box {
        width: 100%;
        display: flex;
        justify-content: space-around;
        .song_list_data {
          font-size: 16px;
          width: 18%;
          .imgBox {
            cursor: pointer;
            width: 100%;
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            img {
              transition: all .4s;
              width: 100%;
            }
            .song_list_keepOut{
              opacity: 0;
              position: absolute;
              top: 0;
              bottom: 0;
              left: 0;
              right: 0;
              transition: all .4s;
              background-color: rgba(51, 51, 51,0.6);
              .song_list_keepOut_icon {
                position: absolute;
                width: auto;
                height: auto;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                border-radius: 50%;
                background-color: #FFF;
                transition: all .4s;
                span {
                  transition: all .4s;
                  font-size: 0;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover .song_list_keepOut {
              opacity: 1;
              &.song_list_keepOut .song_list_keepOut_icon {
                & span {
                  padding: 10px;
                  padding-left: 13px;
                  font-size: 30px;
                  color: rgba(51, 51, 51,0.6);
                }
              }
            }
            &:hover img {
              transform: scale(1.2);
            }
          }
          .mv_list_name{
            cursor: pointer;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-all;
            &:hover {
              color: #31c27c;
            }
          }
          .mv_list_artist_count {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-all;
            cursor: pointer;
            color: #91a1b4;
            &:hover {
              color: #31c27c;
            }
          }
        }
      }
    }
    .emptySongList {
      width: 100%;
      height: 314px;
      line-height: 314px;
      text-align: center;
      font-size: 14px;
      color: #91a1b4;
    }
  }
}
@media screen and (max-width: 800px) {
  .home{
    padding-top: 10px;
    padding-bottom: 40px;
    .song_list_recommend {
      width: 100%;
      padding: 0 10px;
      .title {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 0;
      }
      .tags_box {
        display: block;
        margin-bottom: 10px;
        overflow-x: auto;
        white-space:nowrap;
        .tag {
          display: inline-block;
          font-size: 12px;
          margin-left: 10px;
          white-space:nowrap;
          &.select {
            color: #31c27c;
          }
        }
      }
      .song_list {
        width: 100%;
        .song_list_data_box {
          width: 100%;
          display: flex;
          justify-content: space-around;
          .song_list_data {
            font-size: 12px;
            width: 30%;
            cursor: pointer;
            .imgBox {
              width: 100%;
              position: relative;
              border-radius: 5px;
              overflow: hidden;
              img {
                transition: all .4s;
                width: 100%;
              }
            }
            .song_list_name{
              text-overflow: -o-ellipsis-lastline;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              line-clamp: 2;
              -webkit-box-orient: vertical;
            }
          }
        }
      }
      .emptySongList {
        height: 161px;
        line-height: 161px;
      }
    }
    .new_song_recommend {
      padding-top: 10px;
      width: 100%;
      .title {
        font-size: 20px;
        margin-bottom: 10px;
      }
      .song_list {
        .song_list_data_box {
          width: 100%;
          .song_list_data {
            font-size: 12px;
            padding: 0 10px;
            width: 100%;
            padding-bottom: 10px;
            .imgBox {
              &:hover img {
                transform: scale(1);
              }
            }
            .music_info {
              width: 80%;
              margin-left: 10px;
              .music_list_artists{
                .music_list_artists_data{
                  margin-right: 10px;
                }
              }
            }
          }
        }
      }
    }
    .ranking_list {
      padding-top: 50px;
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
      .title {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
      }
      .ranking_listbox {
        width: 100%;
        display: block;
        .ranking_box {
          height: 150px;
          margin-top: 10px;
          width: 100%;
          box-sizing: border-box;
          padding: 0;
          border-radius: 15px;
          cursor: pointer;
          display: flex;
          .ranking_top {
            width: 30%;
            text-align: center;
            padding-bottom: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            box-sizing: border-box;
            padding: 0 10px;
            .ranking_title {
              font-size: 14px;
            }
            .ranking_name {
              font-size: 18px;
            }
            &::after{
              content: "";
              width: 4px;
              height: 40px;
              background-color: #FFF;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              left: 100%;
              display: none;
            }
          }
          .ranking_bottom {
            width: 70%;
            height: auto;
            padding-top: 10px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-evenly;
            .ranking_music_box {
              margin-top: 40px;
              display: flex;
              font-size: 12px;
              width: 30%;
              .ranking_music_index {
                width: 10%;
              }
              .ranking_music_info {
                width: 90%;
              }
            }
          }
        }
      }
    }

    .mv_recommend {
      width: 100%;
      padding: 0 10px;
      .title {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 0;
      }
      .tags_box {
        display: block;
        margin-bottom: 10px;
        overflow-x: auto;
        white-space:nowrap;
        .tag {
          display: inline-block;
          font-size: 12px;
          margin-left: 10px;
          white-space:nowrap;
          &.select {
            color: #31c27c;
          }
        }
      }
      .song_list {
        width: 100%;
        .song_list_data_box {
          width: 100%;
          display: flex;
          justify-content: space-around;
          .song_list_data {
            font-size: 12px;
            width: 30%;
            cursor: pointer;
            .imgBox {
              width: 100%;
              position: relative;
              border-radius: 5px;
              overflow: hidden;
              img {
                transition: all .4s;
                width: 100%;
              }
              .song_list_keepOut{
                display: none;
              }
            }
          }
        }
      }
    }
  }
}
